package com.ruoyi.fetv.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图片对象 fetv_image
 *
 * @author lwj
 * @date 2023-02-27
 */
public class FetvImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片id */
    private Long imageId;

    /** 图片位置(1:首页轮播图,2:广告图) */
    @Excel(name = "图片位置(1:首页轮播图,2:广告图)")
    private Long imageType;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imageLocation;

    /** 说明 */
    @Excel(name = "说明")
    private String imageExplain;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 跳转方式(1:跳转资讯,2:外链跳转) */
    @Excel(name = "跳转方式(1:跳转资讯,2:外链跳转)")
    private Long jumpType;

    /** 资讯id */
    private String informationId;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 是否删除(0-未删, 1-已删) */
    private Long isDeleted;

    public void setImageId(Long imageId)
    {
        this.imageId = imageId;
    }

    public Long getImageId()
    {
        return imageId;
    }
    public void setImageType(Long imageType)
    {
        this.imageType = imageType;
    }

    public Long getImageType()
    {
        return imageType;
    }
    public void setImageLocation(String imageLocation)
    {
        this.imageLocation = imageLocation;
    }

    public String getImageLocation()
    {
        return imageLocation;
    }
    public void setExplain(String explain)
    {
        this.imageExplain = explain;
    }

    public String getExplain()
    {
        return imageExplain;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setJumpType(Long jumpType)
    {
        this.jumpType = jumpType;
    }

    public Long getJumpType()
    {
        return jumpType;
    }
    public void setInformationId(String informationId)
    {
        this.informationId = informationId;
    }

    public String getInformationId()
    {
        return informationId;
    }
    public void setReleaseTime(Date releaseTime)
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime()
    {
        return releaseTime;
    }
    public void setIsDeleted(Long isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted()
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imageId", getImageId())
            .append("imageType", getImageType())
            .append("imageLocation", getImageLocation())
            .append("imageExplain", getExplain())
            .append("status", getStatus())
            .append("sort", getSort())
            .append("jumpType", getJumpType())
            .append("informationId", getInformationId())
            .append("releaseTime", getReleaseTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
